package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingPlanMapper {

    List<NursingPlanVo> getAll();

    void add(NursingPlan nursingPlan);

    Page<NursingPlanVo> getByPage(@Param("name") String name, @Param("status") Integer status);

    NursingPlanVo getById(Long id);

    void updatePlan(NursingPlanVo nursingPlanVo);

    void deletePlan(Long id);

    void updateStatus(Long id, Integer status);
}



















